/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.apps.utils;

import com.apps.controllers.ShellController;

/**
 *
 * @author ARIJIT PAL
 */
public class ShellOpener implements Runnable{

    private ShellController shellController;
    public ShellOpener(ShellController shellController){
        this.shellController = shellController;
    }

    public void open() throws Exception{
        shellController.openShell();
    }

    @Override
    public void run(){
        try{
            open();
        }catch(Exception ex){
            ex.printStackTrace();
        }
    }
}
